package values.npcs
{
	import flash.utils.Dictionary;

	public class NpcTemplateValueList
	{
		private static var _dic:Dictionary;

		public static function get dic():Dictionary
		{
			return _dic;
		}
		
		public function get dic():Dictionary
		{
			return _dic;
		}
		
		[Data(type="mapping" , mapping="avatar",
				ref="values.npcs.NpcTemplateValue",
				way="one_to_more",
				object="flash.utils.Dictionary",
				key="@key")]
		public function set dic(value:Dictionary):void
		{
			_dic = value;
		}
		
		public static function getNpcByKey(value:String):NpcTemplateValue
		{
			return _dic[value];
		}

	}
}